package net.telesing.tcmc.common;

public class LogicException extends Exception
{
    public static final int ILLEGAL_ACCESS = 1;
    public static final int INSTANTIATION = 2;

    private int code;

    public LogicException(int code, String msg)
    {
        super(msg);
    }

    public int getCode()
    {
        return code;
    }

}